local status	= jit.status() and "On" or "Off"

Print("Lua initialized (".._VERSION..")")
Print("JIT is "..status)

function include(str)
	local path = debug.getinfo(1,"S").short_src:match("^(.+)/[^/]+%.lua$").."/"..str
	Print("File: '"..path.."' is included.")
	if path ~= nil then
		dofile(path)
	end
end

include("util.lua")
include("modules/hook.lua")

hook.Add("Think", "Quit", function()
	local b = input.IsKeyPress(KEY_ESCAPE)
		if b then
			PostQuitMessage(0)
		end
end)